package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("cmfz_audio")
public class CmfzAudio implements Serializable {
    /*CREATE TABLE `cmfz_audio` (
  `audio_id` int(100) NOT NULL AUTO_INCREMENT,
  `audio_name` varchar(100) DEFAULT NULL,
  `album_id` int(50) DEFAULT NULL,
  `audio_url` varchar(200) DEFAULT NULL,
  `audio_size` varchar(10) DEFAULT NULL,
  `audio_order` int(11) DEFAULT NULL,
  PRIMARY KEY (`audio_id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
*/
    @TableId(value = "audio_id",type = IdType.AUTO)
    private Integer audioId;
    private String audioName;
    private Integer albumId;
    private String audioUrl;
    private String audioSize;
    private Integer audioOrder;
}
